package com.smartstate.iot.controller;


import com.smartstate.common.web.httpResult.ApiResultIgnore;
import com.smartstate.iot.service.TopicService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;


@RestController
@RequestMapping("/topic")
public class TopicController {

    @Autowired
    private TopicService topicService;


    @PostMapping("/findAllDevice")
    @ApiResultIgnore
    public Integer findAllDevice() {
        return topicService.findAllDevice();
    }



}
